package com.wow.wa.util;

public class DateFactory {
	
	
	/**
	 * 建立 時間
	 * @return
	 */
	public static DateFormat createTime() {
		return new TimeDateFormat();
	}
	/**
	 * 建立year mon
	 * @return
	 */
	public static DateFormat createYearMon(){
		return new  YearMonDateFormat();
	}
	
	
	/**
	 * 建立Year Mon day
	 * @return
	 */
	public static DateFormat createYearMonDay(){
		return new  YearMonDayDateFormat();
	}
}
